//-----------------------------------------------------------------------
// <copyright file="a_SurveyBase.cs" company="AACECOM">
//     Copyright (c) AACECOM. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace ThoiTrang.Entities
{
	[Serializable]
	public class a_SurveyBase
	{
		
		#region Variable Declarations
		private int				qid = 0;
		private string				question = string.Empty;
		private byte				status = 0;
		#endregion
		
		#region Constructors
		public a_SurveyBase() {}
		
		public a_SurveyBase (
			int qid,
			string question,
			byte status)
		
		{
			this.qid = qid;
			this.question = question;
			this.status = status;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int QID
		{
			get { return qid; }
			set { qid = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Question
		{
			get { return question; }
			set { question = value; }
		}
	
		/// <summary>
		/// 	0:new,1:open,2:close
		/// </summary>
		/// <value>This type is tinyint</value>
		public byte Status
		{
			get { return status; }
			set { status = value; }
		}
	
		
		#endregion
	}//End Class
	
	public enum a_SurveyColumns
	{
		QID,
		Question,
		Status
	}//End enum
}